package com.chenju.invokechainservice.domain;

import com.github.javaparser.ast.NodeList;
import com.github.javaparser.ast.expr.AnnotationExpr;
import com.github.javaparser.ast.stmt.Statement;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class DiffMethodDetailEntity implements Serializable {
    private List<String> oldAnnotations;
    private List<String> newAnnotations;

    private List<String> oldModifiers;
    private List<String> newModifiers;

    private String oldReturnType;
    private String newReturnType;

    private List<String> oldParameters;
    private List<String> newParameters;

    private List<String> oldThrowExceptions;
    private List<String> newThrowExceptions;

    private String oldBody;
    private String newBody;

    private int oldBeginLine;
    private int oldEndLine;

    private int newBeginLine;
    private int newEndLine;

    public DiffMethodDetailEntity() {
        this.oldAnnotations = new ArrayList<>();
        this.newAnnotations = new ArrayList<>();
        this.oldParameters = new ArrayList<>();
        this.newParameters = new ArrayList<>();
    }
}
